package com.hdcircles.autoform.app;

import java.io.File;

/**
 * Created by hdcircles on 2016/9/21.
 */

public class Constants {

    //================TYPE=====================
    public static final int TYPE_LABEL=101;
    public static final int TYPE_ABOUT=102;
    public static final int TYPE_USER=103;


    //=================QUESTION TYPE===========
    public static final int TYPE_SINGLE_CHOOSE =110;
    public static final int TYPE_MULTIPLE_CHOOSE=111;
    public static final int TYPE_TEXT=112;
    public static final int TYPE_TIME=113;
    public static final int TYPE_LOCATION=114;
    public static final int TYPE_MOULD=115;
    public static final int TYPE_PICTURE=116;

    //=================FORM STATUS=============
    public static final int STATUS_INITIALIZATION=200;
    public static final int STATUS_UNDONE=201;
    public static final int STATUS_DONE=202;


    //=================PATH=====================
    public static final String PATH_DATA=App.getInstance().getCacheDir().getAbsolutePath()+ File.separator+"data";

    public static final String PATH_CACHE=PATH_DATA+"/NetCache";

    //================= KEY ====================

    public static final String KEY_API = "f95283476506aa756559dd28a56f0c0b";

    public static final String KEY_BMOB="a728926b13b027cc7327740b1ab47948";

    //================= PREFERENCE ====================

    public static final String SP_NIGHT_MODE = "night_mode";

    public static final String SP_NO_IMAGE = "no_image";

    public static final String SP_AUTO_CACHE = "auto_cache";

    public static final String SP_CURRENT_ITEM = "current_item";

    public static final String SP_LIKE_POINT = "like_point";

    public static final String SP_DEFAULT_DATA ="default_data";

    public static final String SP_USER="user_data";

    public static final String SP_USER_NAME="user_name";

    //===================URL================================
    public static final String IMAGE_URL="http://obf95l76u.bkt.clouddn.com/";
}
